package com.cloud.transaction.controller;

import com.cloud.transaction.service.TransactionService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TransactionController {
    @Resource
    private TransactionService transactionService;

    @GetMapping("/transaction/upd")
    public void upd() {
        transactionService.upd();
    }

    @GetMapping("/transaction/updTestAop")
    public void updTestAop() {
        transactionService.updTestAop();
    }
}
